package service.impl;


import dao.ICatalogDAO;
import service.ICatalogService;

import java.util.List;

public class CatalogService implements ICatalogService {
    private ICatalogDAO catalogDAO;

    public ICatalogDAO getCatalogDAO() {
        return catalogDAO;
    }

    public void setCatalogDAO(ICatalogDAO catalogDAO) {
        this.catalogDAO = catalogDAO;
    }

    @Override
    public List getAllCatalogs() {
        return catalogDAO.getAllCatalogs();
    }

}
